﻿<?php

/***

LZRoster: A roster for World of Warcraft.
Copyright (C) 2007  Emmanuel Cron

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

***/

require_once dirname(__FILE__)."/../univ-class/class/TradeskillSpecialization.class.php";

$array = array (
	/*** Alchemy ***/
	'alchemy_elixir_master' => new TradeskillSpecialization(
		'alchemy_elixir_master',
		'TRADESKILL_SPECIALIATION_ALCHEMY_ELIXIR_MASTER',
		"trades_specializations/alchemy_elixir_master.png"
	),
	'alchemy_potion_master' => new TradeskillSpecialization(
		'alchemy_potion_master',
		'TRADESKILL_SPECIALIATION_ALCHEMY_POTION_MASTER',
		"trades_specializations/alchemy_potion_master.png"
	),
	'alchemy_transmutation_master' => new TradeskillSpecialization(
		'alchemy_transmutation_master',
		'TRADESKILL_SPECIALIATION_ALCHEMY_TRANSMUTATION_MASTER',
		"trades_specializations/alchemy_transmutation_master.png"
	),
	
	/*** Blackmsithing **/
	'blacksmithing_armorsmithing' => new TradeskillSpecialization(
		'blacksmithing_armorsmithing',
		'TRADESKILL_SPECIALIATION_BLACKSMITHING_ARMORSMITHING',
		"trades_specializations/blacksmithing_armorsmithing.png"
	),
	'blacksmithing_master_axesmithing' => new TradeskillSpecialization(
		'blacksmithing_master_axesmithing',
		'TRADESKILL_SPECIALIATION_BLACKSMITHING_MASTER_AXESMITHING',
		"trades_specializations/blacksmithing_master_axesmithing.png"
	),
	'blacksmithing_master_hammersmithing' => new TradeskillSpecialization(
		'blacksmithing_master_hammersmithing',
		'TRADESKILL_SPECIALIATION_BLACKSMITHING_HAMMERSMITHING',
		"trades_specializations/blacksmithing_master_hammersmithing.png"
	),
	'blacksmithing_master_swordsmithing' => new TradeskillSpecialization(
		'blacksmithing_master_swordsmithing',
		'TRADESKILL_SPECIALIATION_BLACKSMITHING_MASTER_SWORDSMITHING',
		"trades_specializations/blacksmithing_master_swordsmithing.png"
	),
	'blacksmithing_weaponsmithing' => new TradeskillSpecialization(
		'blacksmithing_weaponsmithing',
		'TRADESKILL_SPECIALIATION_BLACKSMITHING_WEAPONSMITHING',
		"trades_specializations/blacksmithing_weaponsmithing.png"
	),
	
	/*** Engineering ***/
	'engineering_gnomish' => new TradeskillSpecialization(
		'engineering_gnomish',
		'TRADESKILL_SPECIALIATION_ENGINEERING_GNOMISH',
		"trades_specializations/engineering_gnomish.png"
	),
	'engineering_goblin' => new TradeskillSpecialization(
		'engineering_goblin',
		'TRADESKILL_SPECIALIATION_ENGINEERING_GOBLIN',
		"trades_specializations/engineering_goblin.png"
	),
	
	/*** Leatherworking ***/
	'leatherworking_dragonscale' => new TradeskillSpecialization(
		'leatherworking_dragonscale',
		'TRADESKILL_SPECIALIATION_LEATHERWORKING_DRAGONSCALE',
		"trades_specializations/leatherworking_dragonscale.png"
	),
	'leatherworking_elemental' => new TradeskillSpecialization(
		'leatherworking_elemental',
		'TRADESKILL_SPECIALIATION_LEATHERWORKING_ELEMENTAL',
		"trades_specializations/leatherworking_elemental.png"
	),
	'leatherworking_tribal' => new TradeskillSpecialization(
		'leatherworking_tribal',
		'TRADESKILL_SPECIALIATION_LEATHERWORKING_TRIBAL',
		"trades_specializations/leatherworking_tribal.png"
	),
	
	/*** Tailoring ***/
	'tailoring_mooncloth' => new TradeskillSpecialization(
		'tailoring_mooncloth',
		'TRADESKILL_SPECIALIATION_TAILORING_MOONCLOTH',
		"trades_specializations/tailoring_mooncloth.png"
	),
	'tailoring_shadoweave' => new TradeskillSpecialization(
		'tailoring_shadoweave',
		'TRADESKILL_SPECIALIATION_TAILORING_SHADOWEAVE',
		"trades_specializations/tailoring_shadoweave.png"
	),
	'tailoring_spellfire' => new TradeskillSpecialization(
		'tailoring_spellfire',
		'TRADESKILL_SPECIALIATION_TAILORING_SPELLFIRE',
		"trades_specializations/tailoring_spellfire.png"
	),
);

if (file_put_contents( dirname(__FILE__)."/../univ-class/class.data/TradeskillSpecializationContainer.tradeskill_specializations.serialize", serialize($array) ) != FALSE) {
	echo "SUCESS";
} else {
	echo "FAILED";
}

?>